\hypertarget{classUploadFile}{\section{Upload\-File类 参考}
\label{classUploadFile}\index{Upload\-File@{Upload\-File}}
}
\subsection*{Public 成员函数}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classUploadFile_a48f90ddf53728aebaf9200bfc13be9a2}{{\bfseries \-\_\-\-\_\-get} (\$name)}\label{classUploadFile_a48f90ddf53728aebaf9200bfc13be9a2}

\item 
\hypertarget{classUploadFile_ad44158a9ebf5abe6e3b227bb85642e0b}{{\bfseries \-\_\-\-\_\-set} (\$name, \$value)}\label{classUploadFile_ad44158a9ebf5abe6e3b227bb85642e0b}

\item 
\hypertarget{classUploadFile_a013f4a1a74cb190ef36a259860dbf700}{{\bfseries \-\_\-\-\_\-isset} (\$name)}\label{classUploadFile_a013f4a1a74cb190ef36a259860dbf700}

\item 
\hyperlink{classUploadFile_a68d10be07ff0aec6cda823146921f466}{\-\_\-\-\_\-construct} (\$config=array())
\item 
\hyperlink{classUploadFile_a876b74316d4c097afccc2ed336191c11}{upload} (\$save\-Path='')
\item 
\hyperlink{classUploadFile_a1bb45c9d080ffdd6a087a408c7c76616}{upload\-One} (\$file, \$save\-Path='')
\item 
\hyperlink{classUploadFile_af9f8283fbca9236d9ed54d810c6ecc3c}{get\-Upload\-File\-Info} ()
\item 
\hyperlink{classUploadFile_a5b93591824c678044380f1462a960088}{get\-Error\-Msg} ()
\end{DoxyCompactItemize}
\subsection*{Protected 成员函数}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classUploadFile_a2bfb48eaa134603743dba0f8186ab3d3}{error} (\$error\-No)
\end{DoxyCompactItemize}


\subsection{详细描述}
文件上传类 thinkphp 类库 \begin{DoxyAuthor}{作者}
liu21st \href{mailto:liu21st@gmail.com}{\tt liu21st@gmail.\-com} 
\end{DoxyAuthor}


\subsection{构造及析构函数说明}
\hypertarget{classUploadFile_a68d10be07ff0aec6cda823146921f466}{\index{Upload\-File@{Upload\-File}!\-\_\-\-\_\-construct@{\-\_\-\-\_\-construct}}
\index{\-\_\-\-\_\-construct@{\-\_\-\-\_\-construct}!UploadFile@{Upload\-File}}
\subsubsection[{\-\_\-\-\_\-construct}]{\setlength{\rightskip}{0pt plus 5cm}Upload\-File\-::\-\_\-\-\_\-construct (
\begin{DoxyParamCaption}
\item[{}]{\$config = {\ttfamily array()}}
\end{DoxyParamCaption}
)}}\label{classUploadFile_a68d10be07ff0aec6cda823146921f466}
架构函数  public 
\begin{DoxyParams}[1]{参数}
array & {\em \$config} & 上传参数 \\
\hline
\end{DoxyParams}


\subsection{成员函数说明}
\hypertarget{classUploadFile_a2bfb48eaa134603743dba0f8186ab3d3}{\index{Upload\-File@{Upload\-File}!error@{error}}
\index{error@{error}!UploadFile@{Upload\-File}}
\subsubsection[{error}]{\setlength{\rightskip}{0pt plus 5cm}Upload\-File\-::error (
\begin{DoxyParamCaption}
\item[{}]{\$error\-No}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [protected]}}}\label{classUploadFile_a2bfb48eaa134603743dba0f8186ab3d3}
获取错误代码信息  public 
\begin{DoxyParams}[1]{参数}
string & {\em \$error\-No} & 错误号码 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
void 
\end{DoxyReturn}
\hypertarget{classUploadFile_a5b93591824c678044380f1462a960088}{\index{Upload\-File@{Upload\-File}!get\-Error\-Msg@{get\-Error\-Msg}}
\index{get\-Error\-Msg@{get\-Error\-Msg}!UploadFile@{Upload\-File}}
\subsubsection[{get\-Error\-Msg}]{\setlength{\rightskip}{0pt plus 5cm}Upload\-File\-::get\-Error\-Msg (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classUploadFile_a5b93591824c678044380f1462a960088}
取得最后一次错误信息  public \begin{DoxyReturn}{返回}
string 
\end{DoxyReturn}
\hypertarget{classUploadFile_af9f8283fbca9236d9ed54d810c6ecc3c}{\index{Upload\-File@{Upload\-File}!get\-Upload\-File\-Info@{get\-Upload\-File\-Info}}
\index{get\-Upload\-File\-Info@{get\-Upload\-File\-Info}!UploadFile@{Upload\-File}}
\subsubsection[{get\-Upload\-File\-Info}]{\setlength{\rightskip}{0pt plus 5cm}Upload\-File\-::get\-Upload\-File\-Info (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classUploadFile_af9f8283fbca9236d9ed54d810c6ecc3c}
取得上传文件的信息  public \begin{DoxyReturn}{返回}
array 
\end{DoxyReturn}
\hypertarget{classUploadFile_a876b74316d4c097afccc2ed336191c11}{\index{Upload\-File@{Upload\-File}!upload@{upload}}
\index{upload@{upload}!UploadFile@{Upload\-File}}
\subsubsection[{upload}]{\setlength{\rightskip}{0pt plus 5cm}Upload\-File\-::upload (
\begin{DoxyParamCaption}
\item[{}]{\$save\-Path = {\ttfamily ''}}
\end{DoxyParamCaption}
)}}\label{classUploadFile_a876b74316d4c097afccc2ed336191c11}
上传所有文件  public 
\begin{DoxyParams}[1]{参数}
string & {\em \$save\-Path} & 上传文件保存路径 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
string 
\end{DoxyReturn}
\hypertarget{classUploadFile_a1bb45c9d080ffdd6a087a408c7c76616}{\index{Upload\-File@{Upload\-File}!upload\-One@{upload\-One}}
\index{upload\-One@{upload\-One}!UploadFile@{Upload\-File}}
\subsubsection[{upload\-One}]{\setlength{\rightskip}{0pt plus 5cm}Upload\-File\-::upload\-One (
\begin{DoxyParamCaption}
\item[{}]{\$file, }
\item[{}]{\$save\-Path = {\ttfamily ''}}
\end{DoxyParamCaption}
)}}\label{classUploadFile_a1bb45c9d080ffdd6a087a408c7c76616}
上传单个上传字段中的文件 支持多附件  public 
\begin{DoxyParams}[1]{参数}
array & {\em \$file} & 上传文件信息 \\
\hline
string & {\em \$save\-Path} & 上传文件保存路径 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
string 
\end{DoxyReturn}


该类的文档由以下文件生成\-:\begin{DoxyCompactItemize}
\item 
templi/Upload\-File.\-class.\-php\end{DoxyCompactItemize}
